// Decompiled by Jad v1.5.8g. Copyright 2001 Pavel Kouznetsov.
// Jad home page: http://www.kpdus.com/jad.html
// Decompiler options: packimports(3) 
// Source File Name:   PoolHelper.java

package org.quickserver.util.pool;

import org.apache.commons.pool.ObjectPool;

public class PoolHelper
{

    public PoolHelper()
    {
    }

    public static boolean isPoolOpen(ObjectPool pool)
    {
        try
        {
            pool.getNumIdle();
        }
        catch(Exception e)
        {
            return false;
        }
        return true;
    }
}
